<template>
    <div class="devico_O_M">
        <div class="left">
            <DeviceStatistics></DeviceStatistics>
            <RealTimeElectricity></RealTimeElectricity>
            <UseVenue></UseVenue>
        </div>
        <div class="center">
            <img src="../../assets/images/Photo／背景／地球.png" alt="">
        </div>
        <div class="right">
            <DeviceDetection></DeviceDetection>
            <RealTimeAlert></RealTimeAlert>
        </div>
    </div>
</template>

<script setup lang='ts'>
import DeviceStatistics from '@/components/equipment/DeviceStatistics.vue';
import RealTimeElectricity from '@/components/equipment/RealTimeElectricity.vue';
import UseVenue from '@/components/equipment/UseVenue.vue';
import DeviceDetection from '@/components/equipment/DeviceDetection.vue';
import RealTimeAlert from '@/components/equipment/RealTimeAlert.vue';
</script>

<style scopd lang="scss">
.devico_O_M {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .left {
        width: 450px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .center {
        width: 700px;
        height: 700px;
        background-image: url("../../assets/images/Bitmap.png");
        background-size: 100% 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            width: 567px;
            height: 541px;
        }
    }

    .right {
        width: 450px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
</style>